tests/rust: Extract a with_webserver_in helper wrapper
authorColin Walters <walters@verbum.org>
Thu, 4 Jun 2020 12:24:16 +0000 (12:24 +0000)
committerColin Walters <walters@verbum.org>
Thu, 4 Jun 2020 13:04:35 +0000 (13:04 +0000)
commit1cd902cd1a0f9c4aaa325b45aaba961567e35448
treeac40a108104583391d638edbca1103d07841b768
parent25986126c7462aa10f24784f2257df3891dfd5a6
tests/rust: Extract a with_webserver_in helper wrapper

It's much cleaner if the Tokio stuff stays in `test.rs`, and
easier to write tests if the function is synchronous.

Prep for further tests.
tests/inst/src/repobin.rs
tests/inst/src/test.rs